﻿using System;
using System.Runtime.InteropServices;

namespace Vtron.HipcConfigurationTools.Domain
{
    /// <summary>
    /// 设置EDID信息的请求
    /// </summary>
    /// <remarks>
    /// typedef struct
    /// {
    ///     Uint16 width;  
    ///     Uint16 height; 
    ///     Uint8   hz;           //场频
    /// }T_EDID_RESOLUTION;
    /// </remarks>
    [Serializable]
    [StructLayout(LayoutKind.Sequential, Pack = 1)]
    public struct T_EDID_RESOLUTION
    {
        #region Fields

        /// <summary>
        /// 宽
        /// </summary>
        public UInt16 width;

        /// <summary>
        /// 高
        /// </summary>
        public UInt16 height;

        /// <summary>
        /// 场频
        /// </summary>
        public byte hz;

        #endregion
    }
}
